package fr.afcepf.atod12.afcepfvoyage.facades;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import fr.afcepf.atod12.afcepfvoyage.facades.interfaces.IFacadeVoyage;
import fr.afcepf.atod12.afcepfvoyage.services.interfaces.IServiceClient;
import fr.afcepf.atod12.afcepfvoyage.services.interfaces.IServiceOffre;

@Service("facadeVoyage")
@Transactional(propagation = Propagation.REQUIRED)
public class FacedaVoyageImpl implements IFacadeVoyage {
	
	public FacedaVoyageImpl() {
		super();
	}
	
	@Autowired
	@Qualifier("serviceClients")
	public IServiceClient getServiceClients;
	

	@Autowired
	@Qualifier("serviceOffres")
	public IServiceOffre getServiceOffres;


	@Override
	public IServiceClient getServiceClients() {
		return this.getServiceClients;
	}


	@Override
	public IServiceOffre getServiceOffres() {
		return this.getServiceOffres;
	}

}
